package campus.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
 * @author kingstudy@vip.qq.com
 * @version 创建时间：2018年6月13日 下午10:28:26
 * @ClassName IndexController
 * @Description Spring MVC 跳转到首页
 */
@Controller
public class IndexController {

    @RequestMapping(value="/")
    public ModelAndView GoToIndex(HttpServletRequest request, HttpServletResponse response){
        return new ModelAndView("index");
    }

}